import axios from "axios";
const request = axios.create({
    baseURL: import.meta.env.VITE_BASEURL,
    timeout: 5000
})



request.interceptors.request.use(
    (config) => {
        return config
    }, (error) => { Promise.reject(error) }
)


request.interceptors.response.use(
    (response) => { return response },
    (err) => { Promise.reject(err) }
)


export default request